/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.Giuong_DAO;
import DTO.Giuong_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class Giuong_BUS {
    
    public static int Get_MaGI() throws SQLException{
        return Giuong_DAO.Get_MaGI();
    }
    public static ArrayList<Giuong_DTO> GetALL(){
        return Giuong_DAO.GetALL();
    }
    public static boolean Insert(Giuong_DTO Giuong){
        return Giuong_DAO.Insert(Giuong);
    }
    public static boolean Update(Giuong_DTO Giuong){
        return Giuong_DAO.Update(Giuong);
    }
    public static boolean Delete(int MaGiuong){
        return Giuong_DAO.Delete(MaGiuong);
    }
}
